package com.shop.cereshop.app.tencent.im.model.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description: 发送商品消息请求参数
 * @author zdd
 * @date 2025/11/5
 * @version 1.0
 */
@ApiModel("发送商品消息请求参数")
@Data
public class SendProductMsgParam implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "商品ID", required = true)
  @NotNull(message = "商品ID不能为空")
  private Long productId;

  @ApiModelProperty(value = "商品名称")
  private String productName;

  @ApiModelProperty(value = "商品图片")
  private String productImage;

  @ApiModelProperty(value = "商品价格")
  private BigDecimal price;

  @ApiModelProperty(value = "商品原价")
  private BigDecimal originalPrice;

  @ApiModelProperty(value = "接收者IM账号（单聊时必填）")
  private String receiverId;

  @ApiModelProperty(value = "群组ID（群聊时必填）")
  private String groupId;

  @ApiModelProperty(value = "发送者头像")
  private String senderHeadImage;

}
